﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Back.Xinkui.Entity.Category;
using DataFrameworkAccess;

namespace Back.Xinkui.DataAccess.Common
{
    public class CategoryDataAccess
    {
        public static List<CategoryEntity> GetCategoryList()
        {
            DataCommand cmd = DataCommandManager.GetDataCommand("Common.Query.GetCategoryList");
            //cmd.SetParameterValue("@ParentId", parentId);

            return cmd.ExecuteEntityList<CategoryEntity>();
        }
    }
}
